'use strict'
import { QueryInterface, DataTypes } from 'sequelize'

/** @type {import('sequelize-cli').Migration} */
module.exports = {
  async up(queryInterface: QueryInterface, Sequelize: typeof DataTypes) {
    await queryInterface.bulkInsert(
      'Brands',
      [
        {
          brandName: '华为',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F07a39713j00q7bkd5000fd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '苹果',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F4a571810j00q7bkd60008d200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: 'OPPO',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F6c6df2a7j00q7bkd6000fd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: 'VIVO',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F65b6d55cj00q7bkd6000fd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '小米',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Fe440a5daj00q7bkd6000cd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '摩托罗拉',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F24c0b6bfj00q7bkd6000ed200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '锤子',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F32cc2a1dj00q7bkd6000dd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '三星',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Fee281aa5j00q7bkd6000dd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '中兴',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Fdda204d0j00q7bkd7000ad200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '诺基亚',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Ff4ec9816j00q7bkd7000hd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: 'IQOO',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F38cc24a2j00q7bkd70009d200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '荣耀',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F64c263ddj00q7bkd7000ad200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: 'LG',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F36803d39j00q7bkd8000bd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '西门子',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F0eb15c0dj00q7bkd8000dd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '海尔',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F6b8c5529j00q7bkd8000ad200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '金立',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F5681ec1aj00q7bkd9000bd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '一加',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F4a93235fj00q7bkd9000ad200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '红米',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F8881b459j00q7bkd9000md200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '黑鲨',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Ff56dd243j00q7bkd9000cd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '魅族',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Fbe8863d0j00q7bkd9000ad200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: 'realme',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F1d67b711j00q7bkda000bd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '努比亚',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Fb835603bj00q7bkda000fd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '索尼',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F6ebf0416j00q7bkda000bd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '联想',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F33c70d21j00q7bkdb000cd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '海信',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F927d8720j00q7bkdc000cd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: 'ROG',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F39a0a20fj00q7bkdc000dd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '酷派',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Feb22ad4ej00q7bkdc000bd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '小辣椒手机',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Fa57c8f26j00q7bkdd000id200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: 'HTC',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F4fcdf7ebj00q7bkdd0008d200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '黑莓',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F28ca2ca7j00q7bkdd000cd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '夏普',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F99e145c5j00q7bkdd000bd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '美图',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F2108d29bj00q7bkdd000ad200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: 'VERTU',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Fc38ba58ej00q7bkde000ad200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '朵唯',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2F70275310j00q7bkde000cd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          brandName: '飞利浦',
          brandLogo:
            'https://nimg.ws.126.net/?url=http%3A%2F%2Fdingyue.ws.126.net%2F2020%2F0317%2Fbe9dc654j00q7bkde000gd200p000d2g00p000d2.jpg&thumbnail=750x2147483647&quality=75&type=webp',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
      ],
      {},
    )
  },

  async down(queryInterface: QueryInterface, Sequelize: typeof DataTypes) {
    await queryInterface.bulkDelete('Brands', [], {})
  },
}
